AOUT#.SOURCE

Description

This keyword sets the source of the analog output

Value Description
0 AOUT#.VALUE is driven by AOUT#.VALUEU.
1 AOUT#.VALUE is driven by an action in the Action table
2 AOUT#.VALUE is driven by the associated fieldbus object
3 AOUT#.VALUE is driven by an event in the Sequencer

Examples

Usage

When AOUT#.SOURCE = 0 (User), then AOUT #.VALUE will be controlled by AOUT #.VALUEU.

When AOUT#.SOURCE = 1 (Action table), then AOUT #.VALUE will be controlled by the assigned action, if any.

When AOUT#.SOURCE = 2 (FieldbusClosedA Fieldbus is an industrial network system for real-time distributed control (e.g. CAN or Profibus). It is a way of connecting instruments in a plant design), then AOUT#.VALUE will be controlled by the associated fieldbus analog output object 3800h sub 2.

When AOUT#.SOURCE = 3 (Sequencer), then AOUT#.VALUE will be controlled by the assigned event in the Sequencer.

Code

Changing output value with VALUEU and then changing SOURCE to be action table with no action configured:

--> AOUT1.SOURCE
0 (User)
--> AOUT1.VALUE
0.000 V
--> AOUT1.VALUEU 1
--> AOUT1.VALUE
1.000 V
--> AOUT1.SOURCE 1
--> AOUT1.VALUE
0.000 V

Context

For more information see Analog Output.

Versions

Action Version Notes
Implemented 02-00-00-000  
Added fieldbus source 02-00-01-000  
Added Sequencer source 02-02-03-000  

General Information

Type Read/Write
Units N/A
Range 0 to 2
Default Value 0
Data Type Integer
See Also  
Stored in Non Volatile Memory Yes

Variants Supported

All variants are supported.